home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global lastName
- set current to the name of cast the castNum of sprite the clickOn
- puppetSprite(the clickOn, 1)
- puppetSprite(12, 1)
- set the castNum of sprite the clickOn to the number of cast "animalsMenu"
- updateStage()
- set the constraint of sprite 12 to the clickOn
- set the locH of sprite 12 to the left of sprite the clickOn
- repeat while the mouseDown
- set the locV of sprite 12 to the mouseV
- updateStage()
- end repeat
- set the constraint of sprite 12 to 0
- set the locV of sprite 12 to 1000
- updateStage()
- set mV to the mouseV - 52
- set V to 0
- set selection to 0
- repeat while V < mV
- set V to V + 15
- set selection to selection + 1
- end repeat
- if selection > 0 then
- set current to line selection of field "animalsFld"
- end if
- put current & "Wrd"
- set snd to current & "Wrd"
- puppetSound(snd)
- updateStage()
- wait(1)
- puppetSound(0)
- set the castNum of sprite the clickOn to the number of cast current
- updateStage()
- set fld to lastName & "Fld"
- put the castNum of sprite the clickOn into line the clickOn of field fld
- end
-